Force LC_ALL=C.UTF-8 during build
authorSimon McVittie <smcv@debian.org>
Sat, 8 Oct 2016 14:38:08 +0000 (15:38 +0100)
committerSimon McVittie <smcv@debian.org>
Sat, 8 Oct 2016 14:38:11 +0000 (15:38 +0100)
So that builds in non-English locales can pass their build-time tests.

debian/changelog
debian/rules

index 1b057b0af5ef5bb8b2cd3e5ee8920ecd2e9e9e0f..97a3a47b353bada7bfb2a242d4cf495a3271e6e4 100644 (file)
@@ -1,3 +1,10 @@
+ostree (2016.11-2) UNRELEASED; urgency=medium
+
+  * Force LC_ALL=C.UTF-8 during build, so that builds in non-English
+    locales can pass their build-time tests
+
+ -- Simon McVittie <smcv@debian.org>  Sat, 08 Oct 2016 15:37:36 +0100
+
 ostree (2016.11-1) unstable; urgency=medium
 
   * New upstream release
index 4bb9d8bb7da1835ed0de38441065c8ec3486799b..a0edd3e44d66e71bb791c6484485b00c926cb9a1 100755 (executable)
@@ -2,6 +2,8 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+# Some tests assert that we will see English strings
+export LC_ALL=C.UTF-8
 
 %:
        dh $@ --with=gir